Skip to main content

mediaFoundationReaderSetStreamSelection

Type

command

Summary

Set the stream selection Platform:desktop

Syntax

mediaFoundationReaderSetStreamSelection <pFilePath>, <pStreamIndex>, <pSelected>

Description

The reader must already be created with mediaFoundationCreateReader.

*Note

*:See the mediaFoundationTranscode documentation for a complete example of using this handler.

Parameters

NameTypeDescription

pFilePath

string

The path to a media file

pStreamIndex

integer

An integer between 1 and the number of streams

pSelected

boolean

The value to set the stream selection to

command: mediaFoundationTranscode, mediaFoundationCreateReader

Compatibility and Support

OS

windows

Thank you for your feedback!

Was this page helpful?